<!DOCTYPE html>
<html>
<head>
<title>肯同集团员工会员系统</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<link rel="stylesheet" href="/static/member/css/weui.min.css">
<link rel="stylesheet" href="/static/member/css/jquery-weui.css">
<link rel="stylesheet" href="/static/member/css/style.css">
<link rel="stylesheet" href="/static/member/css/font-awesome.min.css">
<style type='text/css'>
	i.fa{
		margin-top:10px;
	}
	i.fa-chevron-left{
		margin-top:15px;
	}
</style>
</head>
<body ontouchstart>
	
<div>
    <div class="r-header">
        <div class="r-header-text" >会员消费记录</div>
        <span class="r-position-left r-header-btn" id='hisBtn'><i class="fa fa-chevron-left"></i></span>
    </div>
</div>
<div class="blank50"></div> 

    {if condition="!empty($records)"}
	    <div class="weui-cells">
		<style type="text/css">
	    	.iconbox{
				width:35px; 
				height:35px; 
				background:#00a0ea;
				 margin-right:10px; 
				 border-radius:100%; 
				 text-align:center; 
				 line-height:35px; 
			} 
			.iconbox i{ 
				 font-size:18px; 
				 color:#fff;
			}
	    </style>
    	{volist name='records' id='vo'}
    		<a class="weui-cell weui-cell_access" href="javascript:;">
		        <div class="weui-cell__hd">
		             <p class="iconbox">
		            	<i class="fa fa-address-book"></i> 
		             </p>
		        </div> 
		        <div class="weui-cell__bd">
		            <p class="home-adr">{$vo.shopname}<br><span>{$vo.create_time|date='Y-m-d H:i',###}</span></p>
		        </div>
		        <div class="weui-cell__ft">-{$vo.fee}</div> 
		   </a>
    	{/volist}
    	</div>
    {else/}
	    <div class="weui-loadmore weui-loadmore_line">
		  <span class="weui-loadmore__tips">暂无数据</span>
		</div>
    {/if}
	
   



<script src="/static/member/js/jquery-2.1.4.js"></script>
<script src="/static/member/js/fastclick.js"></script>
<script>
	$(function() {
		$("#hisBtn").click(function(){
			location.href="{:buildUrl('Index/index')}";
		});
		FastClick.attach(document.body);
	});
</script>
<script src="/static/member/js/jquery-weui.js"></script>

</body>
</html>
